<h2>Contacter</h2>

<?php
	if(isset($_SESSION["erreur"]))
	{
		echo 	'
					<div class="erreur">'.
						$_SESSION["erreur"].'
					</div>
				';
		unset($_SESSION["erreur"]);
	}

	if(isset($_SESSION["messageOk"]))
	{
		echo 	'
					<div class="messageOk">'.
						$_SESSION["messageOk"].'
					</div>
				';
		unset($_SESSION["messageOk"]);
	}
?>

<form action="index.php?module=contact&amp;action=envoyerMailAdmin" method="post">
	<p>
		<label for="objet">Objet : </label>
		<input type="text" name="objet"/>
	</p>
	<p>
		<label for="message">Message : </label>
		<input type="text" name="message"/>
	</p>
	<p>
		<input type="submit" value="Envoyer" name="envoyer"/>
		<input type="submit" value="Annuler" name="annuler"/>
	</p>
</form>